/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.service.customer.impt;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.server.common.persistence.Page;
import com.server.common.service.CrudService;
import com.server.modules.sys.entity.customer.impt.CustomerImportLog;
import com.server.modules.sys.dao.customer.impt.CustomerImportLogDao;

/**
 * 客户导入日志Service
 * @author 丁光彪
 * @version 2016-10-28
 */
@Service
@Transactional(readOnly = true)
public class CustomerImportLogService extends CrudService<CustomerImportLogDao, CustomerImportLog> {

	public CustomerImportLog get(String id) {
		return super.get(id);
	}
	
	public List<CustomerImportLog> findList(CustomerImportLog customerImportLog) {
		return super.findList(customerImportLog);
	}
	
	public Page<CustomerImportLog> findPage(Page<CustomerImportLog> page, CustomerImportLog customerImportLog) {
		return super.findPage(page, customerImportLog);
	}
	
	@Transactional(readOnly = false)
	public void save(CustomerImportLog customerImportLog) {
		super.save(customerImportLog);
	}
	
	@Transactional(readOnly = false)
	public void delete(CustomerImportLog customerImportLog) {
		super.delete(customerImportLog);
	}
	
	public int countByMd5(String md5) {
		return dao.countByMd5(md5);
	}
	
}